function Not(bool : boolean) : boolean;

Inverts the boolean variable.

Also see:  EvalBoolean